home *** CD-ROM | disk | FTP | other *** search
/ GFX Sensations 1 / Graphic Sensations - Volume 1.iso / com_net / tcp / amitcp / netinclude / fd / socket_lib.fd next >
Text File  |  2000-01-01  |  2KB  |  73 lines

  1. *
  2. * $Id: socket_lib.fd,v 3.3 1994/01/20 02:39:19 jraja Exp $
  3. *
  4. * Copyright (c) 1993 AmiTCP/IP Group, <amitcp-group@hut.fi>
  5. *                    Helsinki University of Technology, Finland.
  6. *                    All rights reserved.
  7. *
  8. * fd file for the "bsdsocket.library" version 3
  9. *
  10. * Created      : Mon Apr  5 10:19:13 1993 ppessi
  11. * Last modified: Thu Jan 20 00:50:30 1994 jraja
  12. *
  13. *
  14. ##base _SocketBase
  15. ##bias 30
  16. ##public
  17. *------ BSD Socket System Calls ------
  18. Socket(domain, type, protocol)(d0/d1/d2)
  19. Bind(s, name, namelen)(d0/a0/d1)
  20. Listen(s, backlog)(d0/d1)
  21. Accept(s, addr, addrlen)(d0/a0/a1)
  22. Connect(s, name, namelen)(d0/a0/d1)
  23. SendTo(s, msg, len, flags, to, tolen)(d0/a0/d1/d2/a1/d3)
  24. Send(s, msg, len, flags)(d0/a0/d1/d2)
  25. RecvFrom(s, buf, len, flags, from, fromlen)(d0/a0/d1/d2/a1/a2)
  26. Recv(s, buf, len, flags)(d0/a0/d1/d2)
  27. Shutdown(s, how)(d0/d1)
  28. SetSockOpt(s, level, optname, optval, optlen)(d0/d1/d2/a0/d3)
  29. GetSockOpt(s, level, optname, optval, optlen)(d0/d1/d2/a0/a1)
  30. GetSockName(s, hostname, namelen)(d0/a0/a1)
  31. GetPeerName(s, hostname, namelen)(d0/a0/a1)
  32. *------ Generic System Calls Related to Sockets
  33. IoctlSocket(d, request, argp)(d0/d1/a0)
  34. CloseSocket(d)(d0)
  35. *------ AmiTCP/IP specific stuff ------
  36. WaitSelect(nfds, readfds, writefds, execptfds, timeout, maskp)(d0/a0/a1/a2/a3/d1)
  37. SetSocketSignals(SIGINTR, SIGIO, SIGURG)(d0/d1/d2)
  38. GetDTableSize()()
  39. ObtainSocket(id, domain, type, protocol)(d0/d1/d2/d3)
  40. ReleaseSocket(fd, id)(d0/d1)
  41. ReleaseCopyOfSocket(fd, id)(d0/d1)
  42. Errno()()
  43. SetErrnoPtr(errno_p, size)(a0/d0)
  44. *------ INet library calls related to INet address manipulation ------
  45. Inet_NtoA(in)(d0)
  46. Inet_Addr(cp)(a0)
  47. Inet_LnaOf(in)(d0)
  48. Inet_NetOf(in)(d0)
  49. Inet_MakeAddr(net, host)(d0/d1)
  50. Inet_Network(cp)(a0)
  51. *------ NetDB Functions ------ 
  52. GetHostByName(name)(a0)
  53. GetHostByAddr(addr, len, type)(a0/d0/d1)
  54. GetNetByName(name)(a0)
  55. GetNetByAddr(net, type)(d0/d1)
  56. GetServByName(name, proto)(a0/a1)
  57. GetServByPort(port, proto)(d0/a0)
  58. GetProtoByName(name)(a0)
  59. GetProtoByNumber(proto)(d0) 
  60. *------ Syslog function ------
  61. SyslogA(level, format, ap)(d0/a0/a1)
  62. *------ AmiTCP/IP 2 extensions ------
  63. Dup2Socket(fd1, fd2)(d0/d1)
  64. *------ AmiTCP/IP version 3 extensions below ------
  65. SendMsg(s, msg, flags)(d0/a0/d1)
  66. RecvMsg(s, msg, flags)(d0/a0/d1)
  67. *------ Host identification ------
  68. GetHostName(hostname, size)(a0/d0)
  69. GetHostId()()
  70. *------ Socket Base manipulation ------
  71. SocketBaseTagList(taglist)(a0)
  72. ##end
  73.